LassoScript Utility
Basics Browse Detail

[ChartFX->SetXMLData]

Tag Link [ChartFX->SetXMLData] Category ChartFX
Type Member Source Available Yes
Support Preferred Version 8.5
Change New Data Source Any
Output Type None Security None
Implementation Sets Lasso 8.5

Description

[ChartFX->SetXMLData] sets the data for a Chart FX chart using an XML file. The data should be contained within a parent tag. The tags each define a data series. The data points are each contained in a tag with the parameters of that tag representing data for each series. The [ChartFX->SetDataType] tag can be used to explicitly set the type for different series or to ignore certain series. Other XML formats may also work, consult the Chart FX documentation for full details.










Syntax

[Var:'MyChart'=ChartFX]
[$MyChart->SetWidth(800)]
[$MyChart->SetHeight(600)]
[$MyChart->SetTemplate('MyChart.cfx')]
[$MyChart->SetXMLData('MyChart.xml')]
[$MyChart->Render]

Parameters

Required Parameters
File Path The path to the XML file containing data for teh chart.

Examples

See the Lasso 8 Language Guide for examples of how to use this tag.